 
package com.zdkj.subway.support.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zdkj.admin.api.entity.SysDictItem;
import com.zdkj.subway.support.entity.EsStation;
import com.zdkj.subway.support.entity.SwPmTicketCardTypeParam;
import com.zdkj.subway.support.mapper.SwPmTicketCardTypeParamMapper;
import com.zdkj.subway.support.service.SwPmTicketCardTypeParamService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 子类型票卡参数表
 *
 * @author cuilei
 * @date 2020-06-01 14:16:02
 */
@Service
public class SwPmTicketCardTypeParamServiceImpl extends ServiceImpl<SwPmTicketCardTypeParamMapper, SwPmTicketCardTypeParam> implements SwPmTicketCardTypeParamService {

    @Override
    public List<SysDictItem> listIssuingMethod(String taskType)
    {
        return this.baseMapper.listIssuingMethod(taskType);
    }

    @Override
    public List<SysDictItem> listOfIssuingMethod() {
        return this.baseMapper.listOfIssuingMethod();
    }

    @Override
    public List<SysDictItem> listClearRulesA() {
        return this.baseMapper.listClearRulesA();
    }

    @Override
    public List<SysDictItem> listClearRulesB() {
        return this.baseMapper.listClearRulesB();
    }

    @Override
    public List<SysDictItem> listClearRules() {
        return this.baseMapper.listClearRules();
    }

    @Override
    public List<EsStation> getEsStationAll() {
        return this.baseMapper.getEsStationAll();
    }

	 /**
	  根据线路和车站编号获得对应的车站名称
	  如果车站标识为空，只返回对应的线路数据	  
	*/
	@Override
	public EsStation getEsStationInfo(String lineCode,String stationCode){
	   return this.baseMapper.getEsStationInfo(lineCode,stationCode);
	}

    @Override
    public List<SysDictItem> getDictFaultDeviceType() {
        return this.baseMapper.getDictFaultDeviceType();
    }

    @Override
    public List<SysDictItem> getDictFaultDeviceOrder(String deviceTypeId) {
        return this.baseMapper.getDictFaultDeviceOrder(deviceTypeId);
    }

    @Override
    public List<SysDictItem> SubClearRulesAll(String clearRulesId) {
        return this.baseMapper.SubClearRulesAll(clearRulesId);
    }

}
